home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / CIT.v4 / citra / CITClickTab.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  946 b   |  49 lines

  1. //
  2. //                    CITClickTab include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2002.02.03
  7. //
  8.  
  9. #ifndef CIT_CLICKTAB_H
  10. #define CIT_CLICKTAB_H TRUE
  11.  
  12. #ifndef CIT_GADGETS_H
  13. #include "CITGadget.h"
  14. #endif
  15.  
  16. class CITGroup;
  17.  
  18. class CITClickTab:public CITGadget
  19. {
  20.   public:
  21.     CITClickTab();
  22.     ~CITClickTab();
  23.  
  24.     void NewTab(CITGroup& group,char* label);
  25.     void NewTab(CITGroup& group,struct Image* im,struct Image* selIm = NULL);
  26.     void TabTextPen(WORD pen);
  27.     void Current(LONG cur);
  28.  
  29.     LONG Current();
  30.  
  31.     virtual BOOL Attach(Object* child,TagItem* tag,WORD first=FALSE);
  32.     
  33.   protected:
  34.     virtual BOOL Create(CITWindow* CITWd,class CITRootClass* parent);
  35.     virtual void Delete();
  36.     virtual Object* NewObjectA(TagItem* tags);
  37.  
  38.     CITList  labelList;
  39.     
  40.   private:
  41.     TagItem* pTag;
  42.     TagItem* clickTabTag;
  43.     CITList  pageList;
  44.     short    nodeNum;
  45.     short    nodeCurrent;
  46. };
  47.  
  48. #endif
  49.